.upload_comp_wrapper {
  position: relative;
  background: #FFFFFF;
  border-radius: 2px;
  width: 236px;
  height: 28px;
  &:hover {
    cursor: pointer;
  }

  .before_upload {
    display: block;
    margin-left: 8px;
    top: 0;
    font-size: 13px;
    color: #4A5774;
    line-height: 28px;

    .placeholder {
      opacity: 0.7;
    }

    img {
      width: 20px;
      height: 20px;
      margin-right: 4px;
      margin-top: -4px;
    }
  }

  :global {
    .ant-upload {
      width: 100%;
    }
  }

  .upload_comp {
    position: absolute;
    right: 0;
    width: 100%;

    .upload_btn {
      height: 25px;
      width: 28px;
      position: absolute;
      right: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      top: 0;
      border: none;
      background: transparent;
      >img {
        height: 14px;
        width: 14px;
      }
    }
  }
  &.red_wrapper{
    border: 1px solid #E64A00;
  }
}
